package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("student")
public class Student {
  @TableId(type = IdType.AUTO)
  private Integer studentId;
  private String studentName;
  private String studentSex;
  private LocalDateTime birthDate;
  private String idCard;
  private String studentPhone;
  private String studentPwd;
  private String studentEmail;
  private String fileId;
  private String studentStatus;
  private String studentNote;
  private Long campusId;
  @TableField(exist = false)
  private String uuid;
  @TableField(exist = false)
  private String code;
}
